<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Step 9: (Optional) Logging In to the iSCSI Initiator">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001839266973.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
<meta name="DC.Publisher" content="20240608">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000001839187021">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Step 9: (Optional) Logging In to the iSCSI Initiator</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000001839187021"></a><a name="EN-US_TOPIC_0000001839187021"></a>

<h1 class="topictitle1">Step 9: (Optional) Logging In to the iSCSI Initiator</h1>
<div><p>In Ethernet networking scenarios, you need to log in to the iSCSI initiator on the agent host by referring to this section if you want to use the SAN transmission mode or use the storage-layer backup mode for VM disks of datastores created based on OceanStor Dorado LUNs.</p>
<div class="section"><h4 class="sectiontitle">Prerequisites</h4><p>The iSCSI initiator (iscsi-initiator-utils) has been installed on the agent host. For details, see "Installing iSCSI Initiators" in the <i><cite>OceanProtect <span id="EN-US_TOPIC_0000001839187021__en-us_topic_0000001656567397_ph63182562312">Appliance 1.5.0</span> ProtectAgent Installation Guide</cite></i>.</p>
</div>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li id="EN-US_TOPIC_0000001839187021__li768819316116"><a name="EN-US_TOPIC_0000001839187021__li768819316116"></a><a name="li768819316116"></a><span>Log in to the production storage device corresponding to the ESXi datastore and query the iSCSI logical port to obtain the IP address of the logical port.</span><p><ol type="a"><li>Log in to DeviceManager.</li><li>Choose <strong>Services</strong> &gt; <strong>Network</strong> &gt; <strong>Logical Ports</strong>.</li><li>On the displayed page, query the logical port with <span class="uicontrol"><b>Data Protocol</b></span> being <strong>iSCSI</strong> and record the IP address of the logical port.</li></ol>
</p></li><li><span>On the agent host, run the following commands in sequence to log in to the iSCSI initiator (<em>IP</em> indicates the IP address of the logical port obtained in <a href="#EN-US_TOPIC_0000001839187021__li768819316116">1</a>):</span><p><pre class="screen">iscsiadm -m discovery -t st -p <em>IP</em>
iscsiadm -m node -l -p <em>IP</em></pre>
<p><span><img src="en-us_image_0000001839267077.png"></span></p>
</p></li><li id="EN-US_TOPIC_0000001839187021__li88571715310"><a name="EN-US_TOPIC_0000001839187021__li88571715310"></a><a name="li88571715310"></a><span>On the agent host, run the <strong>iscsiadm -m session</strong> command to view the session information and obtain the IQN.</span><p><p><span><img src="en-us_image_0000001839187137.png"></span></p>
</p></li><li><span>Check whether the IQN is online on the production storage device corresponding to the ESXi datastore.</span><p><ol type="a"><li>Log in to DeviceManager.</li><li>Choose <strong>Services</strong> &gt; <strong>Block Service</strong> &gt; <strong>Host Groups</strong> &gt; <strong>Initiators</strong> &gt; <strong>iSCSI</strong>.</li><li>Switch to the <span class="uicontrol"><b>iSCSI</b></span> tab page and query the IQN obtained in <a href="#EN-US_TOPIC_0000001839187021__li88571715310">3</a>. If <strong>Status</strong> of the IQN is <strong>Online</strong>, the IQN status is normal.</li></ol>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000001839266973.html">Backing Up a VMware VM</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>